package com.qyoung.dao;

import com.qyoung.pojo.User;

import java.util.List;

public interface UserDao{
    boolean login(String username, String password);
    List<User> findAll();
    boolean findByName(String name);
    User findById(Integer id);
}
